package com.cvit;
public class Main {
	public static void chooseClass(SubClass2 sub2){
	
	}
	public static void chooseClass(SubClass3 sub3){
	
	}
	public static void main(String args[]){
		int x=7;
		Airplane airplane=new Airplane();
		airplane.takeOff();
		SubClass1 sub1=new SubClass1();
		sub1.aMethod();
		x=sub1.aMethod(x,x);
		
		airplane.fly();
		SubClass2 sub2=new SubClass2();
		SubClass3 sub3=new SubClass3();
		Main.chooseClass(sub2);
		x=sub2.aMethod(x,x);
		Main.chooseClass(sub3);
		x=sub2.aMethod(x,x);
		
		
		
	}
	
}